import request from '@/utils/request'

// 登录
export const login = data => request.post('/sys/login', data)

// 获取用户个人数据
export const getUserProfile = () => request.post('/sys/profile')

// 获取基本个人数据
export const getUserDetailed = (id) => request.get(`/sys/user/` + id)

// 获取员工基本信息
export const getUserByIdDetail = (id) => request.get(`/sys/user/${id}`)
